package org.weasel.dummytests;

import org.eclipse.swt.SWT;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;

public class TestComp extends Composite {

	private Button button = null;

	public TestComp(Composite parent, int style) {
		super(parent, style);
		initialize();
	}

	private void initialize() {
		button = new Button(this, SWT.NONE);
		button.addMouseListener(new org.eclipse.swt.events.MouseAdapter() {
			public void mouseUp(org.eclipse.swt.events.MouseEvent e) {
				System.out.println("mouseUp()"); // TODO Auto-generated Event stub mouseUp()
			}
		});
		setSize(new Point(300, 200));
		setLayout(new GridLayout());
	}

}
